home *** CD-ROM | disk | FTP | other *** search
- package javax.swing.text.html;
-
- import javax.swing.ButtonGroup;
- import javax.swing.text.MutableAttributeSet;
- import javax.swing.text.html.HTML.Tag;
- import javax.swing.text.html.HTMLDocument.HTMLReader;
-
- public class HTMLDocument$HTMLReader$CharacterAction extends HTMLDocument.HTMLReader.TagAction {
- // $FF: synthetic field
- private final HTMLDocument.HTMLReader this$1;
-
- public HTMLDocument$HTMLReader$CharacterAction(HTMLDocument.HTMLReader var1) {
- super(var1);
- this.this$1 = var1;
- }
-
- public void end(HTML.Tag var1) {
- this.this$1.popCharacterStyle();
- if (var1 == Tag.FORM) {
- HTMLDocument.access$2(HTMLReader.access$0(this.this$1), (ButtonGroup)null);
- }
-
- }
-
- public void start(HTML.Tag var1, MutableAttributeSet var2) {
- this.this$1.pushCharacterStyle();
- this.this$1.charAttr.addAttribute(var1, var2.copyAttributes());
- if (this.this$1.styleAttributes != null) {
- this.this$1.charAttr.addAttributes(this.this$1.styleAttributes);
- }
-
- if (var1 == Tag.FORM) {
- HTMLDocument.access$2(HTMLReader.access$0(this.this$1), new ButtonGroup());
- }
-
- }
- }
-